feat(contact-center): add address book search to outdial - #565
Conversation
|
This pull request is automatically being deployed by Amplify Hosting (learn more). |
…bounce for search
350d5fb to
977f861
Compare
adhmenon
left a comment
There was a problem hiding this comment.
Overall PR LGTM. Haven't checked snapshots but tests and code are looking good.
| /** | ||
| * Flag to determine if the address book is enabled. | ||
| */ | ||
| isAddressBookEnabled: boolean; |
There was a problem hiding this comment.
Just curious - as of now this is only in outdial props, but do you think we would need it in the consult-transfer popover? Right now, we just call the API and if the list is empty we don't show the tab (like agent desktop).
No need for code changes but was wondering why we have added this flag.
There was a problem hiding this comment.
This was a requirement for the outdial widget. For outdial we don't make any request to fetch the address book until we switch the tab, in this case if there is no contact available, it will show no contact found message. This is also similar to Agent Desktop behavior.
For consult-transfer case, everything is abstracted inside the call control widget. We can discuss if adding a prop to hide/show the address book there also makes sense.
There was a problem hiding this comment.
Understood. Yes maybe for the popover also we can think about introducing the prop. But for now, this is good.
adhmenon
left a comment
There was a problem hiding this comment.
Thanks for the changes. LGTM.
COMPLETES #< CAI-7330 >
This pull request addresses
< DESCRIBE THE CONTEXT OF THE ISSUE >
Address book was missing in the
OutdialCallwidget. This PR adds the AddressBook feature in theOutdialCallwidget with props to hide or show that part.by making the following changes
< DESCRIBE YOUR CHANGES >
Updated the outdial widget to support address book feature. Updated all the relevant components, hooks, types etc.
Vidcast - https://app.vidcast.io/share/72f8ff38-2a30-4c69-b385-dbd0cc5a99f3
Change Type
The following scenarios were tested
< ENUMERATE TESTS PERFORMED, WHETHER MANUAL OR AUTOMATED >
Tested scenarios are shown in the vidcast
The GAI Coding Policy And Copyright Annotation Best Practices
Checklist before merging
Make sure to have followed the contributing guidelines before submitting.